package com.xayy.health.mgt.model.vo;

import com.xayy.health.mgt.model.TaskChildInfo;
import com.xayy.health.mgt.model.dto.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;
import java.util.List;

/**
 * @author zhangxa
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SubtaskDetailVo extends PageDto {

    private Long id;

    @ApiModelProperty(value = "任务名称")

    private String name;

    @ApiModelProperty(value = "任务类型", notes = "1：数据处理2：事后诊断3：趋势预测")
    private Integer type;

    @ApiModelProperty(value = "卫星代号")

    private String satelliteCode;

    @ApiModelProperty(value = "参数")

    private String params;

    @ApiModelProperty(value = "剔野方法")

    private String tyTag;

    @ApiModelProperty(value = "填充方法")

    private String tcTag;

    @ApiModelProperty(value = "平滑方法")

    private String phTag;

    @ApiModelProperty(value = "模型名称", notes = "在事后诊断和趋势预测的自动运行创建任务时候用到")
    private String modelName;

    @ApiModelProperty(value = "处理周期")

    private Integer cycle;

    @ApiModelProperty(value = "开始时间")

    private Date startTime;

    @ApiModelProperty(value = "结束时间")

    private Date endTime;

    @ApiModelProperty(value = "预测多少个点")
    private Integer predNumber;

    @ApiModelProperty(value = "预测间隔")
    private Integer timeSpan;

    @ApiModelProperty(value = "状态0：不运行1：运行")
    private Integer status;

    @ApiModelProperty(value = "总量")
    private Long total;

    @ApiModelProperty(value = "页码")
    private Integer pages;

    @ApiModelProperty(value = "数量")
    private Integer pageSize;

    private List<TaskChildInfo> children;

}
